<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
</head>
<body>
    <form action="http://www.abc8899.com:8080/post.php" method="post">
          用户名：<input type="text" name="username" value=""> 
          <br/>
          <!-- &nbsp; 一个空格 -->
          密码 &nbsp;: <input type="password" name="password">  
          <br/>

          性别：<select name="sex" >
            <option value="1">男</option>
            <option value="2">女</option>
          </select>
           <br/>

           爱好:
           <!-- checkbox(确认框)   复选框 -->
           <input type="checkbox"  name="hobby1" value="1">听音乐
           <input type="checkbox"  name="hobby2" value="2">打篮球
           <input type="checkbox"  name="hobby3" value="3">看电影
           <br/>

            个人特长：<textarea cols="30" rows="10"></textarea><br/>

            学历：
            <input type="radio" value="1" name="education">小学
            <input type="radio" value="2" name="education">中学
            <input type="radio" value="2" name="education">大学 <br/>

            <!-- submit  确认提交 -->
            <input type="submit" value="注册">
            <input type="reset">
            <input type="button" value="这是普通按钮"> <br/>

            选择文件：<input type="file"><br/>
            <input type="date">
            <input type="image" src="" alt="">
            <input type="color" name="" id="">
        </form>
</body>
</html>